for $i in doc("catalog.xml")//book
let $name := concat($i/@id,$i/title)
where $i/@id = "b101" 
order by $i/@isbn
return
<Book name ="{$name}">
{$i//Author}
</Book>
